<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> - 出库信息</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__PUBLIC__/admin/favicon.ico">
    <link href="__PUBLIC__/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="__PUBLIC__/admin/css/animate.css" rel="stylesheet">
    <link href="__PUBLIC__/admin/css/style.css?v=4.1.0" rel="stylesheet">
    <style>
        .ay-header-action-bar {
            border-bottom: 1px solid #e0e0e0;
            margin: 10px 0 0 0;
            padding: 0 20px 10px 20px;
            height: 30px;
        }

        .ay-header-action-bar a {
            color: grey;
            line-height: 30px;
        }

        .wrap {
            padding: 10px 20px 70px;
        }

        .ay-table {
            width: 100%;
            border-collapse: collapse;
        }

        .ay-table td {
            padding-top: 5px;
        }

        .ay-table-left {
            width: 150px;
            text-align: center;
        }

        .form-required {
            color: red;
        }

        .table-actions {
            margin-bottom: 10px;
            padding: 0px;
        }
    </style>
</head>

<body class="gray-bg">
    <div class="animated fadeInDown">
        <div class="ay-header-action-bar">
            <div class="pull-left">
                <a href="{:URL('collect/collection')}">
                    <i class="fa fa-chevron-left"></i> 返回
                </a>
            </div>
            <div class="pull-right">
            </div>
        </div>
        <div class="wrap js-check-wrap">
            <form class="js-ajax-form" method="post" action="{:URL('collect/comment')}" novalidate="novalidate">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        点评
                    </div>
                    <div class="panel-body">
                        <table class="ay-table">
                            <tbody>
                            <input name="id" value="{$id}" type="hidden">
                                <tr>

                                    <td class="ay-table-left">
                                        <label for="getreason" class="control-label">点评</label>
                                    </td>

                                    <td colspan="3">
                                        <div class="col-xs-10">
                                            <textarea id="getreason" name="comment" class="form-control"></textarea>
                                        </div>
                                    </td>
                                </tr>
                                <tr>

                                    <td class="ay-table-left">
                                        <label for="getperson" class="control-label">点评人</label>
                                    </td>
                                    <td>
                                        <div class="col-xs-8">
                                            <input type="text" id="getperson" name="zname" value="" class="form-control">
                                        </div>
                                    </td>
                                </tr>
                                 <tr>

                                    <td class="ay-table-left">
                                        <label for="getperson" class="control-label">点评时间</label>
                                    </td>
                                    <td>
                                    <div class="col-xs-3 ">
                                    <input name="time" class="form-control layer-date" placeholder="YYYY-MM-DD hh:mm:ss" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
                                   
                                </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="ay-table-left">                    
                                        <button type="submit" class='btn btn-primary'>提交</button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        出库明细
                    </div>
                    <div class="panel-body">
                        <table id="details" class="table table-hover table-bordered table-list ay-table">
                            <thead>
                                <tr>
                                    <th style="text-align: center; width:10%">点评人</th>
                                    <th style="text-align: center; width:8%">点评内容</th>
                                    <th style="text-align: center; width:10%">点评时间</th>
                                </tr>
                            </thead>
                            <tbody>
                            {volist name="alist" id="vo"}
                                <tr>
                                    <th style="text-align: center;">{$vo.zname}</th>
                                    <th style="text-align: center;">{$vo.comment}</th>
                                    <th style="text-align: center;">{$vo['time']|date="Y-m-d H:i:s",###}</th>
                                </tr>
                            {/volist}
                                <tr>
                                    <td colspan="12" class="text-center">没有相关数据!</td>
                                </tr>

                            </tbody>
                        </table>
                        <div></div>
                    </div>
                </div>
               <!-- <nav class="navbar navbar-default  navbar-fixed-bottom opacity100">
                    <div class="container-fluid">
                        <div class="pull-right">
                            <button type="button" id="btnSave" class="btn navbar-btn btn-primary btn-small js-ajax-submit">
                            </button>
                        </div>
                    </div>
                </nav>-->
            </form>
        </div>
    </div>

    <!-- 全局js -->
    <script src="__PUBLIC__/admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="__PUBLIC__/admin/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- layerDate plugin javascript -->
    <script src="__PUBLIC__/admin/js/plugins/layer/laydate/laydate.js"></script>
</body>

</html>